package com.model;

import com.MainFrame;

public class ImgModel {
	private String name;
	private int width ;
	private int height ;
	private String rPath;
	private String format;
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public int getWidth() {
		return width;
	}
	public void setWidth(int width) {
		this.width = width;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
	public String getRPath() {
		return rPath;
	}
	public void setRPath(String rPath) {
		this.rPath = rPath;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}
	
	public String getAbsPath(){
		return MainFrame.projectPath+rPath;
	}
}
